.button_delete {
    width: 150px;
    height: 50px;
    cursor: pointer;
    display: flex;
    align-items: center;
    background: #f06161;
    border: none;
    border-radius: 5px;
    box-shadow: 1px 1px 3px rgba(0,0,0,0.15);
    background: #f06161;
}

.button_delete, button span {
    transition: 200ms;
}

.button_delete .text {
    transform: translateX(35px);
    color: white;
    font-weight: bold;
}

.button_delete .icon {
    position: absolute;
    border-left: 1px solid #f06161;
    transform: translateX(110px);
    height: 40px;
    width: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.button_delete svg {
    width: 15px;
    fill: #eee;
}

.button_delete:hover {
    background: #ff3636;
}

.button_delete:hover .text {
    color: transparent;
}

.button_delete:hover .icon {
    width: 150px;
    border-left: none;
    transform: translateX(0);
}

.button_delete:focus {
    outline: none;
}

.button_delete:active .icon svg {
    transform: scale(0.8);
}


/* 表格样式 */
#book-table {
    border-collapse: collapse;
    width: 100%;
    max-width: 800px;
    font-size: 16px;
    margin: 3% auto;
}

#book-table th,
#book-table td {
    padding: 12px 15px;
    text-align: left;
    border: 1px solid #ccc;
}

#book-table th {
    background-color: #79c0e5;
    color: #fff;
}

#book-table tr:nth-child(even) {
    background-color: #f2f2f2;
}


.button_return {
    border: none;
    outline: none;
    background-color: #87dbd0;
    padding: 10px 20px;
    font-size: 12px;
    font-weight: 700;
    color: #fff;
    border-radius: 5px;
    transition: all ease 0.1s;
    box-shadow: 0px 5px 0px 0px #87dbd0;
}

button:active {
    transform: translateY(5px);
    box-shadow: 0px 0px 0px 0px #87dbd0;
}